/**
 * 
 */
package org.leumasjaffe.location;

/**
 * @author leumasjaffe
 *
 */
public abstract class Coord_1D implements Pos_1D {
	
	protected int x;
	
	public Coord_1D(int x) {
		this.x = x;
	}

	/* (non-Javadoc)
	 * @see location.Pos_1D#getX()
	 */
	@Override
	public int getX() {
		return this.x;
	}

	/* (non-Javadoc)
	 * @see location.Pos_1D#setX(int)
	 */
	@Override
	public void setX(int x) {
		this.x = x;
	}
	
}
